package com.crm.dao.mapper.orderManager;

import com.crm.model.entity.orderManager.CustomerOrderGiftRelation;
import com.crm.model.entity.orderManager.CustomerOrderGiftRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CustomerOrderGiftRelationMapper {
    long countByExample(CustomerOrderGiftRelationExample example);

    int deleteByExample(CustomerOrderGiftRelationExample example);

    int deleteByPrimaryKey(String orderGiftRelationId);

    int insert(CustomerOrderGiftRelation record);

    int insertSelective(CustomerOrderGiftRelation record);

    List<CustomerOrderGiftRelation> selectByExample(CustomerOrderGiftRelationExample example);

    CustomerOrderGiftRelation selectByPrimaryKey(String orderGiftRelationId);

    int updateByExampleSelective(@Param("record") CustomerOrderGiftRelation record, @Param("example") CustomerOrderGiftRelationExample example);

    int updateByExample(@Param("record") CustomerOrderGiftRelation record, @Param("example") CustomerOrderGiftRelationExample example);

    int updateByPrimaryKeySelective(CustomerOrderGiftRelation record);

    int updateByPrimaryKey(CustomerOrderGiftRelation record);
}